//
//  MM_LoginHeaderView.m
//  MallManage_IOS
//
//  Created by 张浩 on 2023/9/12.
//

#import "MM_LoginHeaderView.h"

@interface MM_LoginHeaderView ()

@property (nonatomic, strong) UILabel *nameLabel;

@end

@implementation MM_LoginHeaderView

- (instancetype)initWithFrame:(CGRect)frame {
    
    if (self = [super initWithFrame:frame]) {
        
        _nameLabel = [Custom_ZHTool uiLabelCreate:@"欢迎使用仓储平台" Font:FONT_BOLD(30) TextColor:MM_ColorUtil(@"#333333")];
        [self addSubview:_nameLabel];
        
        [self setUpViews];
    }
    return self;
}

- (void)setUpViews {
    
    [self.nameLabel mas_makeConstraints:^(MASConstraintMaker *make) {
       
        make.left.equalTo(37);
        make.top.equalTo(125);
        make.right.equalTo(-37);
    }];
    
    self.MM_w = ScreenW;
    self.MM_h = 105 + 62 + 70;
}

@end
